package com.xiaoyu.lingdian.service;

import java.util.List;
import com.xiaoyu.lingdian.core.mybatis.page.Page;
import com.xiaoyu.lingdian.entity.CorePointsOrder;

public interface CorePointsOrderService {

	/**
	* 添加
	* @param corePointsOrder
	* @return
	*/
	public boolean insertCorePointsOrder(CorePointsOrder corePointsOrder);

	/**
	* 修改
	* @param corePointsOrder
	* @return
	*/
	public boolean updateCorePointsOrder(CorePointsOrder corePointsOrder);

	/**
	* 删除
	* @param corePointsOrder
	* @return
	*/
	public boolean deleteCorePointsOrder(CorePointsOrder corePointsOrder);

	/**
	* 查询
	* @param corePointsOrder
	* @return
	*/
	public CorePointsOrder getCorePointsOrder(CorePointsOrder corePointsOrder);

	/**
	 * 根据条件分页查询
	 *
	 * @param crporGoodsName
	 * @param crporUser
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	public Page<CorePointsOrder> findCorePointsOrderByCnd(String crporGoodsName, String crporUser, int pageNum, int pageSize);

	/**
	* 批量删除
	* 
	* @param list
	* @return boolean
	*/
	public boolean deleteCorePointsOrderByCnd(List<String> list);

}